package com.xxx.car.entity.vo.request;

import com.xxx.common.base.vo.AdminRequest;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by wenjiexu on 2017/7/7.
 */
public class ReqFeeSetting extends AdminRequest {

    private Integer id;

    @NotNull
    private Integer preferentialType;

    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPreferentialType() {
        return preferentialType;
    }

    public void setPreferentialType(Integer preferentialType) {
        this.preferentialType = preferentialType;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
